Get premium membership and access questions with answers, video lessons as well as revision papers.

The following is a java call of a method : justDoIt(‘’oranges’’); and the method itself: private void justDoIt (String fruit) { JOptionPane.showMessageDialog(null, fruit); } Explain what happens when the method is...

      

The following is a java call of a method :
justDoIt(‘’oranges’’);
and the method itself:
private void justDoIt (String fruit) {
JOptionPane.showMessageDialog(null, fruit);
}
Explain what happens when the method is called

  

Answers


Davis
A message dialog displaying Oranges will appear
Githiari answered the question on January 26, 2018 at 12:38


Next: Explain the problem in the following java calls : drawLogo (paper , 50, ‘’10’’); drawLogo (50, 10, paper); drawLogo (paper, 10);
Previous: State the disadvantages of using mirrors as optical instruments?

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions